<?php

namespace App\Http\Routes;


use Illuminate\Contracts\Routing\Registrar;


class PropertyRoutes{

    public function map(Registrar $routes){
        $routes ->group(['prefix' => 'property','namespace'=>'Property'],function($property){
            //注册
            $property -> post('register','UserController@register');

            //查询是否注册
            $property -> post('Select','UserController@Select');
            //登录
            $property -> post('login','UserController@login');
            //修改密码
            $property -> post('revise','UserController@revise');

            $property -> post('loign_judge','UserController@loign_judge');

            $property -> post('villagelike','VillageController@villagelike');


            //忘记密码发送验证码
            $property -> post('sms','UserController@sms');
            //忘记密码
            $property -> post('forget','UserController@forget');
            //发送验证码
            $property -> post('send','UserController@send');

            //用户信息增删改查
            $property -> post('add_userinfo','UserController@add_userinfo');  //添加用户信息
            $property ->post('show_userinfo','UserController@show_userinfo'); //查看user_id下的用户下的信息
            $property ->get('userwhole','UserController@userwhole'); //所有用户的信息


            //图片上传
          /*  $property ->get('cs','UserController@cs');
            $property ->get('home','UserController@home');*/
            $property ->post('upload','UserController@upload');


            //发布信息
            $property -> post('release','ReleaseController@release');
            $property -> post('selectrelease','ReleaseController@selectrelease');
            $property -> post('updaterelease','ReleaseController@updaterelease');
            $property -> post('delrelease','ReleaseController@delrelease');
            $property -> post('like','ReleaseController@like');
            //小区热议
            $property -> get('InfoRelease','ReleaseController@InfoRelease');

            //获取全部发布本小区信息
            $property -> post('AllRelease','ReleaseController@AllRelease');

            //获取全部发布附近小区信息
            $property -> post('NearbyRelease','ReleaseController@NearbyRelease');

            //发布跟贴


            $property -> post('ReleaseParticulars','ReleaseController@ReleaseParticulars');


            //评论
            $property -> post('addcomment','CommentController@addcomment');
            $property -> post('selectcomment','CommentController@selectcomment');
            $property -> post('updatecomment','CommentController@updatecomment');
            $property -> post('delcomment','CommentController@delcomment');




            //好友增删改查
            $property -> post('addfriends','FriendsController@addfriends');
            $property -> post('SelectFriends','FriendsController@SelectFriends');
            $property -> post('agreefriends','FriendsController@agreefriends');
            $property -> post('blacklistfriends','FriendsController@blacklistfriends');
            $property -> post('delfriends','FriendsController@delfriends');
            $property -> post('association','FriendsController@association');
           // $property -> post('getfriends','FriendsController@getfriends');
            $property -> post('SubmitFriends/{type}','FriendsController@SubmitFriends');

            $property -> post('Submit','FriendsController@Submit');

            $property -> post('group','FriendsController@group');


            //收获地址
            $property -> post('SelectAddress','AddressController@SelectAddress');
            $property -> post('AddAddress','AddressController@AddAddress');
            $property -> post('UpdateAddress','AddressController@UpdateAddress');
            $property -> post('DelAddress','AddressController@DelAddress');

            $property -> post('AddressDefault','AddressController@AddressDefault');
            //默认地址
            $property -> post('DefaultAddress','AddressController@DefaultAddress');

            //轮播图
            $property -> post('SelectRotation','RotationController@SelectRotation');

            //商品展示
            $property -> post('More/{type}','GoodsController@More');
            $property -> post('Home','GoodsController@Home');
            $property -> post('hottopic','GoodsController@hottopic');
            $property -> post('GoodsDetails','GoodsController@GoodsDetails');
            $property -> post('AllOrder','GoodsController@AllOrder');
            $property -> get('quantity','GoodsController@quantity');

            $property -> post('GoodsMore','GoodsController@GoodsMore');



            //报修报事
            //获取
            $property -> post('SelectRepair/{type}','RepairController@SelectRepair');
            //添加
            $property -> post('AddRepair','RepairController@AddRepair');
            //删除
            $property -> post('DelRepair','RepairController@DelRepair');
            //评论
            $property -> post('CommentRepair','RepairController@CommentRepair');



            //悬赏功能模块
            //添加
            $property -> post('AddReward','RewardController@AddReward');
            //获取自己的信息
            $property -> post('PersonalReward/{type}','RewardController@PersonalReward');
            //获取全部的信息
            $property -> get('AllReward/{type}','RewardController@AllReward');
            //修改
            $property -> post('UpdateReward','RewardController@UpdateReward');
            //删除
            $property -> post('DelReward','RewardController@DelReward');
            //通过ID查看详情
            $property -> post('SelectReward','RewardController@SelectReward');

            //访客
            //获取
            $property -> post('SelectVisitors/{type}','VisitorsController@SelectVisitors');
            //添加
            $property -> post('AddVisitors','VisitorsController@AddVisitors');
            //修改
            $property -> post('UpdateVisitors','VisitorsController@UpdateVisitors');
            //删除
            $property -> post('DelVisitors','VisitorsController@DelVisitors');
            //查看
            $property -> post('InfoVisitors','VisitorsController@InfoVisitors');

            //投诉
            //获取
            $property -> post('SelectComplaints','ComplaintsController@SelectComplaints');
            //用户评论
            $property -> post('MessageComplaints','ComplaintsController@MessageComplaints');
            //添加
            $property -> post('AddComplaints','ComplaintsController@AddComplaints');
            //删除
            $property -> post('DelComplaints','ComplaintsController@DelComplaints');

            //服务中心
            $property -> post('SelectService','ServiceController@SelectService');
            $property -> post('SelectServiceReview','ServiceController@SelectServiceReview');
            $property -> post('RemarkOn/{type}','ServiceController@RemarkOn');


            //小区活动
            //发布小区活动
            $property -> post('AddActivity','ActivityController@AddActivity');
            //修改发布信息
            $property -> post('UpdateActivity','ActivityController@UpdateActivity');
            //删除发布活动信息
            $property -> post('DelActivity','ActivityController@DelActivity');
            //获取自己发布的活动信息
            $property -> post('SelectActivity','ActivityController@SelectActivity');
            //获取全部发布信息（进行中|结束）
            $property -> post('AllActivity/{type}','ActivityController@AllActivity');
            //获取信息成功
            $property -> post('particularsActivity','ActivityController@particularsActivity');
            //记录点击
            $property -> post('ActivityLike','ActivityController@ActivityLike');

            //报名与取消报名
            $property -> post('apply','ActivityController@apply');



            //物业缴费
            $property -> post('SelectStratafee','StratafeeController@SelectStratafee');
            $property -> post('AllStratafee','StratafeeController@AllStratafee');



            //小区公告
            $property -> post('SelectCommunitybulletin','CommunitybulletinController@SelectCommunitybulletin');
            $property -> post('Communitybulletin','CommunitybulletinController@Communitybulletin');


            //我的管理

            $property -> post('AllMyAddress','MyAddressController@AllMyAddress');
            $property -> post('AddMyAddress','MyAddressController@AddMyAddress');
            $property -> post('UpdateMyAddress','MyAddressController@UpdateMyAddress');
            $property -> post('DelMyAddress','MyAddressController@DelMyAddress');
            $property -> post('SelectMyAddress','MyAddressController@SelectMyAddress');

            //添加住户
            $property -> post('AddResident','ResidentController@AddResident');
            $property -> post('UpdateResident','ResidentController@UpdateResident');
            $property -> post('DelResident','ResidentController@DelResident');

            //居住用户管理
            $property -> post('SelectTenement','TenementController@SelectTenement');
            $property -> post('AddTenement','TenementController@AddTenement');
            $property -> post('UpdateTenement','TenementController@UpdateTenement');
            $property -> post('DelTenement','TenementController@DelTenement');

            //热门话题
            $property -> post('AllHottopic','HottopicController@AllHottopic');
            $property -> post('SelectHottopic','HottopicController@SelectHottopic');
            $property -> post('ReplyHottopic','HottopicController@ReplyHottopic');
            $property -> post('DelHottopic','HottopicController@DelHottopic');


            //订单管理
            $property -> post('Orderlist/{type}','OrderController@Orderlist');

            $property -> post('smsorder','OrderController@smsorder');

            $property -> post('urlorder','OrderController@urlorder');

            $property -> post('OrderDetails','OrderController@OrderDetails');
            $property -> post('OrderStatus/{type}','OrderController@OrderStatus');
            $property -> post('DelOrder','OrderController@DelOrder');

            //生成订单
            $property -> post('AddOrder','OrderController@AddOrder');
            $property -> post('OrderID','OrderController@OrderID');


            //发布购物订单评论
            $property -> post('OrderContent','OrderController@OrderContent');

            //获取全部小区
            $property -> post('AllPlot','PlotController@AllPlot');

            //我的服务订单详情
            $property -> post('ServiceOrder','ServiceOrderController@ServiceOrder');
            $property -> post('PostComment','ServiceOrderController@PostComment');
            $property -> post('clickServiceOrder','ServiceOrderController@clickServiceOrder');


            //H5页面管理
            $property -> get('explain/{type}','HtmlController@explain');
            $property -> get('particulars/{type}','HtmlController@particulars');
            $property -> get('Html','HtmlController@Html');
            $property -> get('Hottopic/{type}','HtmlController@Hottopic');
            $property -> get('Mytip/{type}','HtmlController@Mytip');


            //停车费
            $property -> post('Money','FeesController@Money');
            $property -> post('Fees','FeesController@Fees');
            $property -> post('SelectFees/{type}','FeesController@SelectFees');

            //APP更新
            $property -> get('APP_Update','UpdateController@APP_Update');

            //商品支付
            $property -> post('paycs','CsController@paycs');
            $property -> post('paywx','CsController@paywx');
            $property -> post('PaySuccess','CsController@PaySuccess');

            $property -> post('smsorder/{id}','CsController@smsorder');




            $property -> post('getfriends','FellController@getfriends');

            $property -> get('bundle_url','CurlController@bundle_url');


            //抽奖测试
            $property -> post('lottery','LottoController@lottery');

            $property -> post('NotClick','LottoController@NotClick');
            $property -> post('judge','LottoController@judge');

            //邻里圈图片
            $property ->post('Circleupdate','CircleController@Circleupdate');

            //测试用例开发
            $property ->post('amount','BubbleController@amount');
            $property ->post('display','BubbleController@display');
            $property ->post('pushcs','PushController@pushcs');


            $property ->get('Allmytip','MytipController@Allmytip');
            $property ->post('Selectmytip','MytipController@Selectmytip');

            $property ->post('addlook','AddController@addlook');

            //微信支付

            $property ->post('wxpay','CsController@wxpay');

            //钱包路由
            //添加银行卡
            $property ->post('addbank','WalletController@addbank');
            $property ->post('mywallet','WalletController@mywallet');
            //展示银行卡
            $property ->post('showbank','WalletController@showbank');
            //显示金额
            $property ->post('showmonery','WalletController@showmonery');
            $property ->post('withdraw','WalletController@withdraw');
            $property ->post('deltaorder','WalletController@deltaorder');
            $property ->post('delta/{type}','WalletController@delta');

            $property ->post('wxsuccess','WalletController@wxsuccess');

            //删除银行卡
            $property ->post('delbank','WalletController@delbank');
            //修改银行信息
            $property ->post('updatebank','WalletController@updatebank');

            $property ->post('pc/{type}','PController@pc');

            $property -> get('order/{id}','HtmlController@order');

        });
    }



}